import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "path";

// https://vitejs.dev/config/
export default defineConfig({
    plugins: [react()],
    base: "./",
    server: {
        port: 3000,
        proxy: {},
        open: true,
    },
    resolve: {
        alias: {
            "@src": resolve(__dirname, "./src"),
            "@utils": resolve(__dirname, "./src/utils"),
            "@components": resolve(__dirname, "./src/components"),
            "@assets": resolve(__dirname, "./src/assets"),
        },
    },
});
